<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/TemplateDefault/css/default.css">
<link rel="stylesheet" type="text/css" href="/Public/css/animate.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/bootstrap/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/TemplateDefault/css/picbox.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/star-rating.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/loader.css">
<script src="__PUBLIC__/Admin/bootstrap/js/jquery.min.js"></script>



<script src="/Public/Js/animate.js"></script>

<script src="__PUBLIC__/Js/jquery.downCount.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/ElementFlex/jquery.flex.js"></script>
<script src="__PUBLIC__/Home/TemplateDefault/js/jquery.SuperSlide.2.1.1.js"></script>
<script src="__PUBLIC__/Js/star-rating.js"></script>
<script src="__PUBLIC__/Admin/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/Admin/js/My97DatePicker/WdatePicker.js"></script>

<?php if(getBrowserVer() <= 8 and getBrowser() == 'Internet Explorer'){?>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/TemplateDefault/css/idangerous.swiper.css">
<script src="__PUBLIC__/Home/TemplateDefault/js/idangerous.swiper.js"></script>
<?php }else{?>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/TemplateDefault/css/swiper.min.css">
<script src="__PUBLIC__/Home/TemplateDefault/js/swiper.min.js"></script>
<?php }?>

<script src="__PUBLIC__/Home/TemplateDefault/js/picbox.js"></script><script src="__PUBLIC__/Home/TemplateDefault/js/jquery.carousel.min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=QMDvD2Anle2gLOINIBUZ1Lhh"></script>
<script src="__PUBLIC__/Home/TemplateDefault/js/jquery.cookie.js"></script>



<script type="text/javascript" src="/sku/js/json2.js"></script>
<script type="text/javascript" src="/sku/js/shCore.js"></script>
<script type="text/javascript" src="/sku/js/shBrushJScript.js"></script>


<link rel="stylesheet" href="/Public/Js/imgzoom/css/ShopShow.css" type="text/css" />
<link rel="stylesheet" href="/Public/Js/imgzoom/css/MagicZoom.css" type="text/css" />
<script src="/Public/Js/imgzoom/js/MagicZoom.js" type="text/javascript"></script>
<script src="/Public/Js/imgzoom/js/ShopShow.js"></script>
</head>

<body>


<div style="display:none;" id="FormAddHtml"><table>
<tbody>
<tr>
      <td>&nbsp;{$list.0.inputhidden}</td>
      <volist name="list" id="vo">
      <td style="vertical-align:middle;">{$vo.html}</td>
      </volist>
      
      <td style="vertical-align:middle; min-width:80px; text-align:center;"><a href="##" class="btn btn-danger" onClick="$(this).parent().parent().remove();">删除</a></td>
    </tr>
</tbody>
</table></div>

<form id="FormLineFrom" action="">
<table width="100%" border="0" class="table table-bordered" cellspacing="0" cellpadding="0">
  <tbody class="FormListBox">
    <tr>
      <td align="center">人员</td>
      <volist name="list" id="vo"> 
          <td align="center">{$vo.name}</td>
      </volist>
      <td align="center">操作</td>
    </tr>
  </tbody>
</table>
</form>

<div style="text-align:center;"><a href="##" onClick="FormSend();" class="btn btn-success">保存工作分配</a>&nbsp;&nbsp;<a href="##" onClick="FormListAdd();" class="btn btn-success"><i class="fa fa-plus"></i> 加一行</a></div>


<script>
function FormSend(){
	var data = $('#FormLineFrom').serialize();
	$.ajax({
		url : "",
		data: data,
		type:'POST',
		dataType:"json",
		success: function(ret){
			
		}
	});
}
function FormListAdd(){
	$('.FormListBox').append($('#FormAddHtml table tbody').html());
}
FormListAdd();
</script>
</body>
</html>
